<?php
/*
 * Created on 20.12.2005
 *
 */
 

 
class Model2 {
    
    var $basedirCache;

    function Model2 (&$env) 
    {
        $matches = array();
        $this->filterchain = new FilterChain($env);    
    }
    
    /**
     * @param array filters Array of strings
     */
    function addFilters ($filters) 
    {
        foreach ($filters as $filter) 
        {
            $this->registerFilter($filter);
        }
    }
    
    function registerFilter($filter) 
    {
        $this->filterchain->addFilter($filter);
    }
    
    function start () {
        $this->filterchain->startChain();
    }

}

?>
